package com.stgy.lease.web.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * ClassName:WebApiApplication
 * Package:com.stgy.lease.web.admin
 * Description:
 *
 * @Author:helei
 * @Create:2024/8/28 - 10:47
 */
@EnableCaching //启用缓存注解
@SpringBootApplication
@ComponentScan(basePackages = "com.stgy.lease")
@EnableAsync
public class WebApiApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApiApplication.class, args);
    }
}
